FROM mysql/mysql-server:8.0.32

MAINTAINER jacky(18612275305@sina.cn)

ENV TZ=Asia/Shanghai

RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

COPY daotu.sql /docker-entrypoint-initdb.d

COPY daotu_codegen.sql /docker-entrypoint-initdb.d

COPY daotu_config.sql /docker-entrypoint-initdb.d

COPY daotu_job.sql /docker-entrypoint-initdb.d

EXPOSE 3306
